package org.example.param;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class UserUpdateParam {
    @NotNull(message = "参数异常,请重试")
    private Long id;
    @NotNull(message = "参数异常,请重试")
    private Integer admin;
    @NotBlank(message = "账号不能为空")
    private String account;

    private String avatar;

    private Integer sex;

    private String email;

    private  String mobilePhone;

    private String nickname;

    private String status;
}
